package com.woniuxy.store.core.service.impl;

import com.woniuxy.store.core.model.MdSs;
import com.woniuxy.store.core.mapper.MdSsMapper;
import com.woniuxy.store.core.service.MdSsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gmx
 * @since 2021-06-29
 */
@Service
public class MdSsServiceImpl extends ServiceImpl<MdSsMapper, MdSs> implements MdSsService {

    @Autowired(required = false)
    MdSsMapper mdSsMapper;

    @Override
    public void insertOne(MdSs mdSs) {
        mdSsMapper.insert(mdSs);
    }

    @Override
    public void delectOne(int ssId) {
        mdSsMapper.delectOne(ssId);
    }
}
